projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4da397
)
Fix a typo in flymake.el
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 28 Mar 2024 10:15:13 +0000
(12:15 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 28 Mar 2024 10:15:13 +0000
(12:15 +0200)
* lisp/progmodes/flymake.el (flymake--update-eol-overlays): Use
'save-restriction', not 'save-excursion'. (Bug#69984)
lisp/progmodes/flymake.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/flymake.el
b/lisp/progmodes/flymake.el
index db00cc59c0ec60929de7de908111b3319d8e59f8..779c612f479779abcda750f72e0d3a4e36f2b7fe 100644
(file)
--- a/
lisp/progmodes/flymake.el
+++ b/
lisp/progmodes/flymake.el
@@
-744,7
+744,7
@@
associated `flymake-category' return DEFAULT."
(defun flymake--update-eol-overlays ()
"Update the `before-string' property of end-of-line overlays."
- (save-
excurs
ion
+ (save-
restrict
ion
(widen)
(dolist (o (overlays-in (point-min) (point-max)))
(when (overlay-get o 'flymake--eol-overlay)